package com.ttx.pattern.example.strategy.after.strategies;

import com.ttx.pattern.example.strategy.after.IAlgorithm;

/**
 * @author TimFruit
 * @date 2019/5/21 8:02
 */

public class Sub implements IAlgorithm {
    @Override public int doOperate(int num1, int num2) {
        return num1-num2;
    }
}
